const express = require('express');

const server = express();

const router = express.Router();

router.get('/1.html', (req, res) => {
    res.send('1.html');
});

router.get('/2.html', (req, res) => {
    res.send('2.html');
});

server.use('/user', router);

server.listen(8080, () => {
    console.log('success');
})